package kr.ragne.letsparismain;

import kr.ragne.framework.GameActivity;
import kr.ragne.letsparissql.DBHelper;
import kr.ragne.letsparissql.LetsParisSqlite;
import kr.ragne.letsparitime.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {
	Button startbtn;
	Button rankbtn;
	
	DBHelper dbhelper;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		dbhelper = new DBHelper(this);
		findViewById(R.id.btn_start);
		findViewById(R.id.btn_rank);
		
		
	}
	
	public void mOnClick(View v){
		Intent intent = null;
		switch(v.getId()){
		case R.id.btn_start:
			intent = new Intent(this, GameActivity.class);
			break;
		case R.id.btn_rank:
			intent = new Intent(this, LetsParisSqlite.class);
			break;
		}
		startActivity(intent);
	}
}
